// Author David Heyer
package com.example.test;

import android.os.Bundle;
import android.app.ActionBar;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.content.Intent;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActionBar actionBar = getActionBar();
        actionBar.hide();
        setContentView(R.layout.activity_main);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
    // -Activities Buttons-
    public void onButtonClick(View view){
    	
    	if(view.getId() == R.id.new_game){
    	
    		startActivity(new Intent(this, Seite_2_vocabulary.class));
    		
    	}
    	else {
    		startActivity(new Intent(this, MainActivity.class));
    	}
    	
    }
   
    protected void initializeMenu()
    {
    	//this.
    }
}
